<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<html>
    <head>
    </head>
    <body>
        <form:form modelAttribute="emp" action="${pageContext.request.contextPath}/validate/submit">
            姓名：<form:input path="name"></form:input><br/>
            密码：<form:password path="password"></form:password><br/>
            邮箱：<form:input path="email"></form:input><br/>
            年龄：<form:input path="age"></form:input><br/>
            电话：<form:input path="phone"></form:input><br/>
            <form:button>提交</form:button>
            <hr/>
            <form:errors path="*"></form:errors>
        </form:form>
    </body>
</html>
